home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 1830 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: gisdev.genasys.com.au!not-for-mail
  2. From: roberts@genasys.com.au (Robert Swan)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: OS features
  5. Date: 17 Jan 1996 07:35:03 +1100
  6. Organization: Genasys II, Australia
  7. Message-ID: <4dh25n$4n4@gisdev.genasys.com.au>
  8. References: <92747544038@PAPA.NORTH.DE> <4d2tcm$5t@ousrvr3.oulu.fi> <1320.6588T928T488@supernet.ab.ca> <Pine.OSF.3.91.960116171255.26229B-100000@sable.ox.ac.uk>
  9. NNTP-Posting-Host: gisdev.genasys.com.au
  10.  
  11. In article <Pine.OSF.3.91.960116171255.26229B-100000@sable.ox.ac.uk>,
  12. Ben Hutchings  <worc0223@sable.ox.ac.uk> wrote:
  13. >On 15 Jan 1996, Kor Nielsen wrote:
  14. >> of the OS, but it seems that a lot of the programs for Windows crash way more
  15. >> than the ones for AmigaDos. Memory protection only encourages sloppy
  16. >> programming, which I would like to stay off the amiga platform, for fear of
  17. >> bug filled programs which you don't know are going to crash in the middle of
  18. >> your important document or not.
  19. >
  20. >This is clearly rubbish. Memory protection makes it impossible to write a 
  21.                                                      ^^^^^^^^^^
  22. >program which trashes memory without being made painfully aware of it 
  23. >during development. As it is now, it is quite possible for software to 
  24. >write over, say, memory they already deallocated and usually get away 
  25. >with it, so that the crashes this bug causes appear to be random and it 
  26. >is not fixed. 
  27.  
  28. Now who's talking rubbish?  If memory protection makes you
  29. "painfully aware" of memory corruption, how does a company like
  30. Pure Software manage to do such good business selling Purify (an
  31. illegal memory access detector) to Unix developers?  Their
  32. product is indeed excellent, and very useful for finding lurking
  33. bugs.  Even with Purify, there may still be bugs.  You really are
  34. kidding yourself if you think Unix's core dumps (and their ilk)
  35. trap anything more than the most blatant of errors.  I have found
  36. lurking bugs in software I've ported from my Amiga to Unix.  I've
  37. also found them going the other way.
  38.  
  39. Memory protection is no substitute for good design.  If you
  40. expect an MMU to find your bugs, you are a sloppy programmer.
  41. This doesn't mean that I am above using Enforcer/Mungwall or
  42. Purify when I code.  However I use these tools to put a
  43. "blessing" on my programs, and feel heavily chastened if they
  44. actually find anything wrong.
  45.  
  46. Have fun,
  47.  
  48. Robert.
  49. -- 
  50. Robert Swan,                         |  No, not the Antarctic adventurer.
  51. roberts@genasys.com.au               |  No, not the Canberra porn monger.
  52. Genasys II Pty. Ltd., North Sydney.  |  Yes, that's right.  The boring one.
  53.